package io;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Li_DaChiZi
 * Date: 2025/7/2
 * Time: 10:39
 */
public class Demo8 {
    public static void main(String[] args) {
        File file = new File("./abc1324/def");
        File file1 = new File("./def");
        boolean ok = file.renameTo(file1);
        System.out.println(ok);
    }
}
